package com.wyz.web.service;

import com.wyz.common.dto.UserDTO;
import com.wyz.common.util.Message;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;


public interface UserService {

    /**
     * 添加用户
     */
    String addUser(UserDTO userDTO);


    /**
     * 检查用户是否可以登录
     */
    String checkUserInfo(UserDTO userDTO);


    /**
     * 转账
     */
    boolean transfer(int sender_id, int receiver_id, double money);



}


